﻿using MediatR;
using Sale.ErrorCode;

namespace Sale.Api.Application.Command.Contract
{
    public class AddContractCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 合同编号
        /// </summary>
        public string ContractCode { get; set; }
        /// <summary>
        /// 合同名称
        /// </summary>
        public string ContractName { get; set; }
        /// <summary>
        /// 客户Id（主键唯一标识）
        /// </summary>
        public int ClientId { get; set; }
        /// <summary>
        /// 签订日期
        /// </summary>
        public DateTime SigningDate { get; set; }
        /// <summary>
        /// 发货日期
        /// </summary>
        public DateTime ShippingDate { get; set; }
        /// <summary>
        /// 合同金额
        /// </summary>
        public double DiscountAmount { get; set; }
        /// <summary>
        /// 送货地址
        /// </summary>
        public string DeliveryAdder { get; set; }
        /// <summary>
        ///是否审核0未审核1已通过2已驳回
        /// </summary>
        public int ContractState { get; set; }
        /// <summary>
        /// 合同备注
        /// </summary>
        public string ContractRemark { get; set; }
        /// <summary>
        /// 当前登录人（审批人）
        /// </summary>
        public int LoginUserId { get; set; }
    }
}
